package com.muse.designpatterns.bridge;

public class BridgeTest {
    public static void main(String[] args) {
        BrushPenAbstraction brushPen = new BigBrushPen();
        brushPen.setColor(new RedColor());
        brushPen.draw();

        brushPen.setColor(new BlueColor());
        brushPen.draw();

        BrushPenAbstraction brushPen2 = new SmallBrushPen();
        brushPen2.setColor(new RedColor());
        brushPen2.draw();

        brushPen2.setColor(new BlueColor());
        brushPen2.draw();
    }
}
